{#include file="admin_header.htm"#}
{#include file="admin_article_nav.htm"#}
<div class="admin_main_nr_box">
  <form id="form1" name="form1" method="post" action="admin_article_save.php?act=property_all_save">
    <table width="700" border="0" cellspacing="0" cellpadding="5" style="border-bottom:1px #CCCCCC solid; margin-bottom:8px;">
      <tr>
        <td width="533" height="25" style="font-size:14px;">文章屬性分類</td>
        <td width="68" style="font-size:14px;"><input type="submit" name="Submit2" value="保存修改" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'"/></td>
        <td width="34" style="font-size:14px;"><input type="button" name="Submit" value="新增屬性" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'"  onclick="window.location='admin_article.php?act=property_add'"/></td>
        <td width="35" style="font-size:14px;">&nbsp;</td>
      </tr>
    </table>
    <table width="700" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="300" valign="top"><table width="700" border="0" cellspacing="0" cellpadding="2">
          {#section name=get_article_property loop=$get_article_property#}
          <tr>
              <td width="50" height="30" align="right" style="color:#666666 ; border-bottom:1px #CCCCCC solid">id:({#$get_article_property[get_article_property].id#})
              <input name="y_id[]" type="hidden" id="y_id[]" value="{#$get_article_property[get_article_property].id#}" /></td>
            <td width="220" style=" border-bottom:1px #CCCCCC solid"><input name="categoryname[]" type="text" class="article_category_input_a"  onfocus="this.className='article_category_input_c'"   onblur="this.className='article_category_input_a'" value="{#$get_article_property[get_article_property].categoryname#}" maxlength="8"/></td>
            <td width="350" style=" border-bottom:1px #CCCCCC solid">
			{#if $get_article_property[get_article_property].admin_set=="1"#}
			<span style=" color:#FF3300">說明：系統分類不可刪除，只可編輯</span>
			{#else#}
			說明：自定義屬性
			{#/if#}
			</td>
            <td align="center" style="border-bottom:1px #CCCCCC solid"  class="link_lan">
			{#if $get_article_property[get_article_property].admin_set<>"1"#}
			<a href="admin_article_save.php?act=del_property&y_id={#$get_article_property[get_article_property].id#}" onclick="return confirm('你確定要刪除嗎？')">刪除</a>
			{#/if#}&nbsp;
			</td>
          </tr>
          {#/section#}
        </table></td>
      </tr>
    </table>
  </form>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>
